export const tableOption = {
  dialogDrag: true,
  border: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  menuType: 'text',
  searchShow: false,
  excelBtn: false,
  printBtn: false,
  viewBtn: true,
  searchMenuSpan: 6,
  labelWidth: 150,
  editBtnText: '审核',
  column: [
    {
      label: '昵称',
      prop: 'nickName',
      editDisabled: true,
      rules: [
        {
          required: true,
          message: '请输入昵称',
          trigger: 'blur'
        },
        {
          max: 100,
          message: '长度在不能超过100个字符'
        },
      ]
    },
    {
      label: '手机号码',
      prop: 'phone',
      editDisabled: true,
      search: true,
      rules: [
        {
          required: true,
          message: '请输入手机号码',
          trigger: 'blur'
        },
        {
          max: 11,
          message: '长度在不能超过11个字符'
        },
      ]
    },
    {
      label: '师傅姓名',
      prop: 'providerName',
      search: true,
      rules: [
        {
          required: true,
          message: '请输入师傅姓名',
          trigger: 'blur'
        },
        {
          max: 10,
          message: '长度在不能超过10个字符'
        },
      ]
    },
    {
      label: '身份证号',
      prop: 'idCard',
      rules: [
        {
          required: true,
          message: '请输入身份证号',
          trigger: 'blur'
        },
        {
          max: 18,
          message: '长度在不能超过18个字符'
        },
      ]
    },
    {
      label: '服务区域',
      prop: 'serviceCity',
      search: true,
      display: false,
      type: 'select',
      dicUrl: '/upms/dict/type/city_type'
    },
    // {
    //   label: '服务分类',
    //   prop: 'goodsCategorys',
    //   type: 'select',
    //   multiple: true,
    //   props: {
    //     label: 'name',
    //     value: 'id'
    //   },
    //   dicUrl: '/mall/goodscategory/tree',
    //   span: 24
    // },
    {
      label: '累计金额（元）',
      prop: 'accountBalanceTotal',
      addDisplay: false,
      editDisplay: false
    },
    {
      label: '可提现金额（元）',
      prop: 'accountBalance',
      addDisplay: false,
      editDisplay: false
    },
    {
      label: '身份证正面',
      prop: 'idCardImg',
      hide: true,
      type: 'upload',
      listType: 'picture-img',
      imgWidth: 50,
      addDisplay: false,
      editDisabled: true,
    },
    {
      label: '身份证反面',
      prop: 'idCardImg2',
      hide: true,
      type: 'upload',
      listType: 'picture-img',
      imgWidth: 50,
      addDisplay: false,
      editDisabled: true,
    },
    {
      label: '认证状态',
      prop: 'authStatus',
      type: 'radio',
      slot: true,
      dicData: [{
        label: '未认证',
        value: '0'
      }, {
        label: '已认证',
        value: '1'
      }]
    },
    // {
    //   label: '上线状态',
    //   prop: 'status',
    //   type: 'radio',
    //   dicData: [{
    //     label: '未审核',
    //     value: '0'
    //   },{
    //     label: '上线',
    //     value: '1'
    //   },{
    //     label: '驳回',
    //     value: '2'
    //   },{
    //     label: '下线',
    //     value: '3'
    //   }]
    // },
    {
      label: '工作状态',
      prop: 'takingStatus',
      type: 'radio',
      slot: true,
      dicData: [{
        label: '休息中',
        value: '0'
      }, {
        label: '接单中',
        value: '1'
      }]
    },
    {
      label: '工龄（年）',
      prop: 'workYear',
      addDisplay: false,
      editDisplay: false
    },
    {
      label: '申请时间',
      prop: 'createTime',
      sortable: true,
      addDisplay: false,
      editDisplay: false
    },
    {
      label: '持卡人',
      prop: 'cardHolder',
      hide: true,
      addDisplay: false,
      editDisplay: false
    },
    {
      label: '开户行',
      prop: 'cardBank',
      hide: true,
      addDisplay: false,
      editDisplay: false
    },
    {
      label: '银行卡号',
      prop: 'cardId',
      span: 24,
      hide: true,
      addDisplay: false,
      editDisplay: false
    },
  ],
}
